Move the test for no segments before the assertion for non-NULL segment
authorTor Lillqvist <tml@iki.fi>
Sun, 13 Feb 2000 23:19:23 +0000 (23:19 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 13 Feb 2000 23:19:23 +0000 (23:19 +0000)
commit37cfb7d74b85d3fd8f1714e83b94c8d449c08cb9
treee1a8a804b1d321d6dedb8c8efd613718ee86367e
parent95a9052d561b824e6071c6e8ee24fb1fe07b7b8a
Move the test for no segments before the assertion for non-NULL segment

2000-02-14  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
before the assertion for non-NULL segment list.

* gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
Seems that pattern brushes *must* be 8x8 pixels! At least on my
machine, but it might be display driver dependent. Sigh, so make
sure the stipple is that size. Does Windows suck or what?

* gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
places.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkdraw.c
gdk/win32/gdkdrawable-win32.c
gdk/win32/gdkgc-win32.c
gdk/win32/gdkprivate-win32.h